#pragma once


// CPicCtrl

class CPicCtrl : public CWnd
{
	DECLARE_DYNAMIC(CPicCtrl)
	
	HBITMAP m_bmp;
	CSize	m_szBmp;

	BOOL RegisterWindowClass();

protected:
	DECLARE_MESSAGE_MAP()

public:
	CPicCtrl();
	virtual ~CPicCtrl();

	static const CString CLASSNAME;

	HBITMAP SetBitmap(HBITMAP bmp);

	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
};


